(a) 50% of the aggregate of its Canadian investment fund at the end of the particular year andi. if the insurer is resident in Canada, its Canadian investment fund at the end of its preceding taxation year, or
ii. if the insurer is not resident in Canada, its Canadian investment fund at the end of its preceding taxation year determined as if its attributed surplus for that preceding taxation year were its attributed surplus for the particular year; and